<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
<%@ taglib uri="http://www.springframework.org/security/tags" prefix="security"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<div id="dd-navigation">
	<div id="nav-strip">
        <ul>
            <security:authorize access="hasRole('KQWBXMGL')">
            <li class="nav-item" id="nav-item_1"><a href="#" ><span class="primary-link">项目管理</span></a>
            	<div class="subnav " id="subnav_1">                      
                	<div class="subnav-inner">
		                <ul>
		                <security:authorize access="hasRole('KQWBXMGLXMYL')">
		                    <li>
		                    	<a href="renwuchaxun">项目一览</a>
		                    </li>
		                </security:authorize>
		                </ul>
	               </div>                       
                </div>
            </li>
            </security:authorize>
            <security:authorize access="hasRole('KQWBPKGL')">
            <li class="nav-item" id="nav-item_2"><a href="#" ><span class="primary-link">排班考勤管理</span></a>
            	<div class="subnav " id="subnav_2">                       
                	<div class="subnav-inner">
		                <ul>
		                <security:authorize access="hasRole('KQWBPKGLPBYL')">
		                    <li>
		                    	<a href="paibanchaxun">排班一览</a>
		                    </li>
		                 </security:authorize>
		                 <security:authorize access="hasRole('KQWBPKGLKQYL')">
		                     <li>
		                    	<a href="kaoqinchaxun" target="_top">考勤一览</a>
		                    </li>
		                 </security:authorize>
		                 <security:authorize access="hasRole('KQWBPKGLCGYL')">		                    
		                    <li>
			                 	<a href="chagang">查岗一览</a>
		                    </li>
		                 </security:authorize>
		                </ul>
	               </div>                       
                </div>
            </li>
            </security:authorize>           
            <security:authorize access="hasRole('KQWBXLGL')">		
            <li class="nav-item" id="nav-item_4"><a href="#" ><span class="primary-link">销量管理</span></a>
                <div class="subnav " id="subnav_4">                       
                	<div class="subnav-inner">
		                <ul>
		                    <security:authorize access="hasRole('KQWBXLGLXLYL')">		
		                    <li>
		                    	<a href="xiaoshouchaxun">销量一览</a>
		                    </li>
		                    </security:authorize>
		                    <security:authorize access="hasRole('KQWBXLGLXLTJ')">		
		                    <li>
		                    	<a href="xiaoliangtongji">销量统计</a>
		                    </li>		  
		                    </security:authorize>                  
		                </ul>
		            </div>
		        </div>
            </li>
            </security:authorize>
             <security:authorize access="hasRole('KQWBJBGL')">		
            <li class="nav-item" id="nav-item_7"><a href="#" ><span class="primary-link">基本管理</span></a>
                <div class="subnav " id="subnav_7">                       
                	<div class="subnav-inner">
		                <ul>
		                <security:authorize access="hasRole('KQWBJBGLMDYL')">	
		                    <li>
		                    	<a href="mendianbiaozhu">门店一览</a>
		                    </li>	
		                    </security:authorize>
		                    <security:authorize access="hasRole('KQWBJBGLZZYL')">	
		                    <li>
		                    	<a href="zuzhichaxun">组织一览</a>
		                    </li>	
		                    </security:authorize>
		                    <security:authorize access="hasRole('KQWBJBGLKHYL')">	
		                     <li>
		                    	<a href="kehuchaxun">客户一览</a>
		                    </li>
		                    </security:authorize>
		                    <security:authorize access="hasRole('KQWBJBGLYGYL')">	
		                    <li>
		                    	<a href="yuangongchaxun">员工一览</a>
		                    </li>
		                    </security:authorize>
		                </ul>
		            </div>
            	</div>
            </li>
            </security:authorize>
            <security:authorize access="hasRole('KQWBQXGL')">	
            <li class="nav-item" id="nav-item_8"><a href="#" ><span class="primary-link">权限管理</span></a>
                <div class="subnav " id="subnav_8">                       
                	<div class="subnav-inner">
		                <ul>
		                    <security:authorize access="hasRole('KQWBQXGLJSDY')">	
		                    <li>
		                    	<a href="juesedingyi">角色定义</a>
		                    </li>
		                    </security:authorize>
		                    <security:authorize access="hasRole('KQWBQXGLJSFP')">	
		                    <li>
		                    	<a href="juesefenpei">角色分配</a>
		                    </li>
		                    </security:authorize>	  
		                </ul>
		            </div>
		        </div>
            </li>
            </security:authorize>
            <security:authorize access="hasRole('KQWBTZGL')">	
            <li class="nav-item no-subnav" id="nav-item_6"><a href="#" ><span class="primary-link">通知管理</span></a>
                <div class="subnav" id="subnav_6">         
                	<div class="subnav-inner">
		                <ul>
		                <security:authorize access="hasRole('KQWBTZGLTZYL')">
		                    <li>
		                    	<a href="tongzhichaxun">通知一览</a>
		                    </li>	
		                </security:authorize>		                     
		                </ul>
		            </div>
            	</div>
            </li>
            </security:authorize>
            <security:authorize access="hasRole('KQWBXTGL')">
            <li class="nav-item no-subnav" id="nav-item_xitong"><a href="#" ><span class="primary-link">系统管理</span></a>
            	<div class="subnav" id="subnav_xitong">         
                	<div class="subnav-inner">
		                <ul>
		                	<security:authorize access="hasRole('KQWBXTGLDLTJ')">
		                    <li>
		                    	<a href="denglutongji">登录统计</a>
		                    </li>
		                    </security:authorize>
		                </ul>
		            </div>
            	</div>
            </li>
            </security:authorize>
        </ul>
        <div style="margin-left:1020px;">
        	<ul>
				<li class="nav-item no-subnav" id="nav1"><a class="nav1" href="#" ><span class="primary-link1">${userID}</span></a>
	                <div class="subnav" id="subnav_6" style="margin-left:10px;">                       
	                	<div  class="subnav-inner1">
			                <ul>
			                    <!-- <li style="width:150px;float:left;">
									<a href="#">修改密码</a>
			                    </li> -->
			                    <li style="width:150px;float:left;">
									<a id="fr-logout" style="cursor:pointer;">退出</a>
			                    </li>			                     
			                </ul>
			            </div>
	            	</div>
	            </li>
			</ul>
        </div>
        <%-- <span class="logout_span">${userID} ▏<a id="fr-logout" style="cursor:pointer;">退出</a></span> --%>
    </div>
</div>
 <%-- <div id="errorPlaceholder" style="color:red;padding-left:23px;" class="fr-blank">
     <c:if test="${not empty message}">
         ${message}
 	</c:if> 
 </div> --%>
 <style>
  #nav-strip .subnav-inner1{
  	width:150px;
  }
 </style>
